// 统一卡片样式 mixin
@mixin card-base-style {
  background: linear-gradient(135deg, rgba(3, 12, 49, 0.8), rgba(15, 30, 80, 0.6));
  border: 1px solid rgba(28, 89, 156, 0.4);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

  // 添加微妙的光效
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  }
}

@mixin card-title-style {
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  // 橙色竖线
  &::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 12px;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #ff8c00, #ffa500);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.5);
  }

  // 调整文字位置，为橙色竖线留出空间
  padding-left: 32px;

  i {
    margin-right: 8px;
    color: #1890ff;
    font-size: 18px;
  }
}

@mixin card-content-style {
  flex: 1;
  padding: 15px;
}
